import 'package:boss/models/takeout_order_list_data.dart';
import 'package:boss/ui/page/takeoutManagement/page/takeoutProcess/modal/refund_modal.dart';
import 'package:boss/ui/widget/button/outline_radius_button.dart';
import 'package:flutter/material.dart';

class ComplutedButtonGroup extends StatelessWidget {
  final TakeoutOrderItem data;

  const ComplutedButtonGroup({Key key, this.data}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return OutlineRadiusButton(
      width: double.infinity,
      title: '退款',
      onTap: () async {
        showRefundModal(context, data: data);
      },
    );
  }
}
